Latent Attention For If-Then Program Synthesis
نویسندگان
چکیده
Automatic translation from natural language descriptions into programs is a longstanding challenging problem. In this work, we consider a simple yet important sub-problem: translation from textual descriptions to If-Then programs. We devise a novel neural network architecture for this task which we train end-toend. Specifically, we introduce Latent Attention, which computes multiplicative weights for the words in the description in a two-stage process with the goal of better leveraging the natural language structures that indicate the relevant parts for predicting program elements. Our architecture reduces the error rate by 28.57% compared to prior art [3]. We also propose a one-shot learning scenario of If-Then program synthesis and simulate it with our existing dataset. We demonstrate a variation on the training procedure for this scenario that outperforms the original procedure, significantly closing the gap to the model trained with all data.
منابع مشابه
The Necessity of Paying Attention to the Developmental and Educational Significance of Pre-School Years, as Indicated by Contemporary Research
The Necessity of Paying Attention to the Developmental and Educational Significance of Pre-School Years, as Indicated by Contemporary Research E. Talaa'ee, Ph.D. H. Bozorg To demonstrate the necessity of paying attention to the developmental and educational significance of the early years of childhood (from birth to first grade) by all involved, a subset of all related researc...
متن کاملData Synthesis with Expectation-Maximization
A problem of increasing importance in computer graphics is to generate data with the style of some previous training data, but satisfying new constraints. If we use a probabilistic latent variable model, then learning the model will normally be performed using Expectation-Maximization (EM), or one of its generalizations. We show that data synthesis for such problems can also be performed using ...
متن کاملRobustFill: Neural Program Learning under Noisy I/O
The problem of automatically generating a computer program from some specification has been studied since the early days of AI. Recently, two competing approaches for automatic program learning have received significant attention: (1) neural program synthesis, where a neural network is conditioned on input/output (I/O) examples and learns to generate a program, and (2) neural program induction,...
متن کاملComparison study of QuantiFERON test with tuberculin skin testing to diagnose latent tuberculosis infection among nurses working in teaching hospitals of Ahvaz, Iran
Background: Prompt diagnosis and treatment of latent tuberculosis (TB) infection (LTBI) are needed to control TB. The aim of the study was to compare the performance of Quanti FERON-TB test (QFT) with conventional TST for the diagnosis of LTBI. Methods: In this analytical - comparison study, we enrolled 87 nurses working in teaching hospitals in Ahvaz. All study subjects were tested by TST.&...
متن کاملBayesian Sketch Learning for Program Synthesis
We present a Bayesian statistical approach to the problem of automatic program synthesis. Our synthesizer starts by learning, offline and from an existing corpus, a probabilistic model of real-world programs. During synthesis, it is provided some ambiguous and incomplete evidence about the nature of the programming task that the user wants automated, for example sets of API calls or data types ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016